-- STONE_BOX_PASSWORD
-- 隐蔽的石匣密码

return function(grid)
    local element = grid.element;
    local dbase = DungeonM.queryElement(element, "dbase") or {};

    -- 配置了密码
    if type(dbase["code"]) == "table" then
        return dbase["code"];
    end

    return { 1, 6, 5, 3, 2, 4 };
end
